<?php
/**
 * Abstract Form element class.
 * 
 * @author hcderaad
 * @package PhpDocGtk
 */
class PhpDocGtk_Form_Element {
	
	/**
	 * The elements label.
	 * 
	 * @var string
	 */
	protected $_label;
	
	/**
	 * The elements value.
	 * 
	 * @var mixed
	 */
	protected $_value;
	
	/**
	 * Sets the elements value
	 * 
	 * @param mixed $value The elements value.
	 * @return PhpDocGtk_Form_Element
	 */
	public function setValue($value) {
		$this->_value = $value;
		return $this;
	}
	
	/**
	 * Returns the elements value.
	 * 
	 * @return mixed The current value.
	 */
	public function getValue() {
		return $this->_value;
	}
	
	/**
	 * Sets the elements label.
	 * 
	 * @param string $label
	 * @return PhpDocGtk_Form_Element
	 */
	public function setLabel($label) {
		$this->_label = $label;
		return $this;
	}
	
	public function getLabel();
}
?>